home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / Zend / zend_istdiostream.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-12  |  314 b   |  16 lines

  1. #ifndef _ZEND_STDIOSTREAM
  2. #define _ZEND_STDIOSTREAM
  3.  
  4. #if defined(ZTS) && !defined(HAVE_CLASS_ISTDIOSTREAM)
  5. class istdiostream : public istream
  6. {
  7. private:
  8.     stdiobuf _file;
  9. public:
  10.     istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); }
  11.     stdiobuf* rdbuf()/* const */ { return &_file; }
  12. };
  13. #endif
  14.  
  15. #endif
  16.